﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebBanHang.DAO;

namespace WebBanHang.DTO
{
    public class ThanhVien
    {
        private string _UserName;

        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        private string _Password;

        public string PassWord
        {
            get { return _Password; }
            set { _Password = value; }
        }
       
        private string _HoTen;

        public string HoTen
        {
            get { return _HoTen; }
            set { _HoTen = value; }
        }
        private string _DiaChi;

        public string DiaChi
        {
            get { return _DiaChi; }
            set { _DiaChi = value; }
        }
        private string _DienThoai;

        public string DienThoai
        {
            get { return _DienThoai; }
            set { _DienThoai = value; }
        }
        private string _GioiTinh;

        public string GioiTinh
        {
            get { return _GioiTinh; }
            set { _GioiTinh = value; }
        }
        
      private string _Hinhanh;

      public string Hinhanh
      {
          get { return _Hinhanh; }
          set { _Hinhanh = value; }
      }
        private string _Email;

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        private string _SDT;

        public string SDT
        {
            get { return _SDT; }
            set { _SDT = value; }
        }
        
    }

    public class ThanhVien_BUS
    {
        public static void Them(ThanhVien tmp)
        {
            ThanhVien_DAO.Them(tmp);
        }
    }
}